package com.benshou.bcss.common.j17common;

import com.benshou.bcss.common.j17common.annotation.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * @author <a href="mailto:wh1zper@qq.com">wh1zper</a>
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class GroupingResult<T> {

    @NotNull
    private Object identification;

    private Long count;

    private T groupBy;
}
